package com.hu.hrm.service;

import com.hu.hrm.domain.Course;
import com.baomidou.mybatisplus.service.IService;
import com.hu.hrm.dto.CourseSaveDTO;
import com.hu.hrm.query.CourseQuery;
import com.hu.hrm.util.PageList;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author woo
 * @since 2020-02-22
 */
public interface ICourseService extends IService<Course> {

    void saveOrUpdate(CourseSaveDTO courseSaveDTO);

    void onLineCourse(Long id);

    void offLineCourse(Long id);

    PageList queryCourses(CourseQuery courseQuery);
}
